import config from "@/config";
import http from "@/utils/request";

export default {
	alarm: {
		url: `${config.API_URL}/reportequipalarm/alarms/`,
		name: "设备警报信息",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	groupClassify: {
		url: `${config.API_URL}/reportequipalarm/groupclassify/`,
		name: "设备警报按分类分组",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
}
